package cn.gson.crm.model.pojos;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Time;
import java.util.Objects;

@Entity
public class Advice {
    private long adviceId;
    private Time adviceDate;
    private Long adviceStage;
    private String adviceContent;
    private String adviceType;

    @Id
    @Column(name="advice_id")
    public long getAdviceId() {
        return adviceId;
    }

    public void setAdviceId(long adviceId) {
        this.adviceId = adviceId;
    }

    @Basic
    @Column(name="advice_date")
    public Time getAdviceDate() {
        return adviceDate;
    }

    public void setAdviceDate(Time adviceDate) {
        this.adviceDate = adviceDate;
    }

    @Basic
    @Column(name="advice_stage")
    public Long getAdviceStage() {
        return adviceStage;
    }

    public void setAdviceStage(Long adviceStage) {
        this.adviceStage = adviceStage;
    }

    @Basic
    @Column(name="advice_content")
    public String getAdviceContent() {
        return adviceContent;
    }

    public void setAdviceContent(String adviceContent) {
        this.adviceContent = adviceContent;
    }

    @Basic
    @Column(name="advice_type")
    public String getAdviceType() {
        return adviceType;
    }

    public void setAdviceType(String adviceType) {
        this.adviceType = adviceType;
    }
}
